package cn.exrick.xboot.modules.gatestation.service;

import cn.exrick.xboot.base.XbootBaseService;
import cn.exrick.xboot.common.vo.SearchVo;
import cn.exrick.xboot.modules.gatestation.entity.NaturalgasDashboard;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


/**
 * 天燃气前端仪表盘设置接口
 * @author yck
 */
public interface NaturalgasDashboardService extends XbootBaseService<NaturalgasDashboard, String> {

    /**
    * 多条件分页获取
    * @param naturalgasDashboard
    * @param searchVo
    * @param pageable
    * @return
    */
    Page<NaturalgasDashboard> findByCondition(NaturalgasDashboard naturalgasDashboard, SearchVo searchVo, Pageable pageable);
    List<NaturalgasDashboard> findByGateStationId(String gateStationId);

}